package com.clayecloud.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author  ClayeLink
 * @date  2021/12/31 14:51
 */
@ApiModel(value="com-clayecloud-common-entity-Permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission implements Serializable {
    /**
    * 权限id
    */
    @ApiModelProperty(value="权限id")
    private Integer permissionId;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
    * 更新时间
    */
    @ApiModelProperty(value="更新时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
    * 权限名称
    */
    @ApiModelProperty(value="权限名称")
    private String permissionName;

    private static final long serialVersionUID = 1L;
}